<script setup lang="ts">
// import request from '@/utils/request'
// import { onMounted } from 'vue';
import useUserStore from '@/store/user';
let userStore = useUserStore();
</script>

<template>
  <div class="container">
    <HospitalTop></HospitalTop>
    <div class="content">
      <router-view></router-view>
    </div>
    <!-- 展示放路由组件 -->

    <HospitalBottom></HospitalBottom>
    <Login v-if="userStore.visable"></Login>
  </div>
</template>

<style scoped>
.container {
  display: flex;
  flex-direction: column;
  align-items: center;

  .content {
    width: 1200px;
    /* background-color: pink; */
    min-height: 700px;
    margin-top: 30px;
  }
}
</style>